<template>
  <div>
    <table id="t" border="1">
      <thead>
        <tr class="fHeader">
          <th v-for="(n, i) of 50" :key="i">字段 {{ i + 1 }}</th>
        </tr>
      </thead>
      <tbody>
        <tr v-for="(n, i) of 100" :key="i">
          <td v-for="(m, j) of 50" :key="j">{{ j + 1 }}</td>
        </tr>
      </tbody>
    </table>
  </div>
</template>
<style scoped>
th,
td {
  min-width: 80px;
}
table{
    margin: 20px;
    position: relative;
}
.fHeader {
  background: lightblue;
  position: absolute;
  top: 0;
}
</style>